Modem with ring detection/modem processing capability

ABSTRACT

A modem which connects to a data terminal is connected to a telephone line capable of supporting multiple directory numbers with each number having a distinctive ring signal. The modem has a ring detector which indicates the presence of a ring signal associated with an incoming call from a remote device. The modem also includes a datapump unit capable of processing analog signals associated with a telephone line and digital data associated with the data terminal. A modem controller determines ring type from the ring signal of the incoming telephone call and alters the processing of the incoming telephone call based on the ring type. To that end, the controller may alter the processing of the incoming telephone call by configuring the datapump unit and/or configuring a controller compression/error-correction module based on the ring type before the incoming telephone call is answered. Further, the controller may direct the routing of the incoming telephone call via the data terminal based on the ring type.

BACKGROUND

A modem is an interface device coupled to a data terminal and a telephone line. The data terminal may be a computer, a "dumb" terminal incapable of processing software or a facsimile machine. The modem permits the exchange of digital data with remote modem-supported data terminals over the telephone line by providing an. interface function between each terminal and the telephone network. The modem is typically plugged into a telephone jack connected to a telephone line and is positioned inside or adjacent to the associated data terminal. To support transmission of digital computer data to a remote data terminal, the modem transforms the digital data from the local data terminal into analog form necessary for telephone line transmission. On the receiving end, a second modem transforms received analog signals into digital data which is provided to its local data terminal.

The four major sections of a typical modem are the telephone interface, data terminal interface, controller, and datapump. The telephone interface connects the telephone line to the modem and optionally to a local communications device such as a telephone or an answering machine. The telephone interface typically includes ring-detect circuitry which sends digital information to the controller and a data access arrangement for transmitting analog information between the telephone line and the modem's datapump. The data terminal interface links the modem to the local data terminal and is typically a serial interface for an external modem and a parallel interface for a modem that goes inside a computer.

The controller executes a program for directing the functions of the modem. The controller may compress data coming from the data terminal interface before sending it to the datapump and may decompress data coming from the datapump before sending it to the data terminal interface. Also, it is through commands to and responses from the controller that the data terminal has access to the configurational features of the modem. The datapump section is typically configured by the controller to process data between analog and digital signals in accordance with a data protocol.

The datapump may convert digital data from the data terminal interface to analog signals sent through the telephone line interface to the telephone line, or convert analog signals received from the telephone line via the telephone line interface to digital data transmitted through the data terminal interface or stored in the datapump or controller, or simultaneously do both types of conversion in a "full duplex" mode. A datapump may be, for example, capable of being configured to process data in accordance with a facsimile protocol or a data protocol. Note that although the term "modem" originates from modulator-demodulator, it is applied to characterize telephone line interface devices, such as a voice modem, in which modulation is not required. As such, the datapump may also be capable of being configured to process data in accordance with a voice protocol. The datapump's facsimile, data, and voice protocols may be set to varying speeds and modes.

When a remote modem is directed to communicate with a local modem connected to a data terminal, the remote modem dials the directory number of the local modem. The telephone network provides a ring signal to the local modem corresponding to an incoming telephone call. The local modem senses the ring signal and answers the incoming telephone call such that a data link is established between the two modems over the telephone line. Before the local modem's datapump is able to process data, the local datapump must be configured to the data protocol of the remote modem's datapump. To that end, the local modem typically engages in a negotiation or handshaking process with the remote modem to determine the appropriate data protocol and for configuring the local modem's datapump accordingly. For a modem to be configured as a data modem, data negotiation may also specify that the controller enter a compression and/or error-checking protocol, such as MNP5 or V.42bis. After the handshaking process has been completed, the local modem's datapump processes data according to the data protocol. However, the handshaking process is often time-consuming. For example, handshaking can often last 12 to 15 seconds for some high-speed modems.

Another problem is that while handshaking is standardized for two data-only modems communicating with each other or two fax-only modems communicating with each other, there is no standardized handshaking for modems capable of processing two or more communication modes including data, fax, and voice, such as fax and data, or fax and data and voice. This can further delay or even prevent establishment of the proper communication mode, and result in less reliable establishment of the proper mode. In addition, some approaches require additional hardware, such as touchtone decoders in the modem and touchtone generators in the calling equipment, and may require that a local or remote user interact with establishment of the proper communication mode.

SUMMARY OF THE INVENTION

Telephone companies offer a service in which multiple directory numbers are assigned to a single telephone line with each directory number being assigned a distinctive ring signal. In the present invention, a modem is connected to a telephone line having this multiple number service. As such, the ring type associated with the ring signal of an incoming telephone call to the modem identifies the directory number dialed by a remote device (i.e. a modem or a telephone). Remote devices are instructed to use different numbers to call the modem based on their data protocol. Thus, the ring type of the incoming telephone call identifies the data protocol of the remote device.

The modem includes a ring detector which indicates the presence of a ring signal associated with an incoming telephone call and a datapump unit capable of processing data associated with the incoming telephone call. In accordance with the present invention, a controller responsive to the ring detector determines the ring type of the incoming telephone call and alters the modem processing of the incoming telephone call based on the ring type. For example, the controller may alter the processing of the incoming telephone call by partially or completely configuring the datapump unit and/or configuring a controller compression/error-correction module based on the ring type. Since the ring type partially or completely specifies the protocol of the remote device, the datapump unit and/or the compression/error correction module are configured to the same protocol. As such, after the modem answers the incoming telephone call, the handshaking process employed before the datapump unit actually processes message data is minimized.

The controller may alter the processing of the incoming telephone call by directing the routing of the incoming call via a data terminal in a multi-user system based on the ring type. The data terminal connected to the modem may be a multi-task computer or may be coupled to a network. To that end, the controller provides the data terminal with a connect message indicating the ring type of the incoming call. The data terminal subsequently routes the incoming call to a user or a user group in the system or to a particular file in memory based on the connect message.

In one detailed embodiment of the present invention, the modem employs a datapump unit comprising a facsimile datapump and/or a data datapump and/or a voice datapump. The datapumps may be different hardware units, or they may be a single hardware unit such as a digital signal processor executing different sets of instructions for the three different modes. Based on the ring type of an incoming telephone call, the controller configures one of the datapumps to process data after minimal handshaking with the remote calling device.

To configure one of the datapumps, the controller determines the ring type and sets a group of user-controllable controller registers associated with the datapump based on the ring type. If the data datapump is to be configured, the controller sets a group of user-controllable AT Command Set compatible S-registers associated with the data datapump. As such, the appropriate controller registers are set as if they had been set by the data terminal user. After setting the appropriate user-controllable registers, the controller subsequently accesses these registers for configuring one of datapumps.

The configured datapump conveys signals between the telephone line interface and the data terminal interface or controller. If the data terminal is a computer employing facsimile/data modem software, the software is typically capable of responding properly to a message indicating whether a facsimile or data connection has been made by receiving from the modem a connect message such as "Connect Data" or "Connect Fax". In a preferred embodiment, the reconfiguration procedure performed by the modem is transparent to the computer software. Consequently, the present invention has the advantage of being compatible with existing computer software.

The modem of the present invention may also have the capability of passing an incoming telephone call to a modem output port coupled to a telephone jack which may be linked to a local device such as a telephone, a facsimile machine or an answering machine. To that end, the modem employs a relay located in the datapump unit which is selectively activated by the controller based on the ring type. When activated, the relay directs the incoming telephone call to the local device via the modem output port. Optionally, the relay may be selected to direct the incoming call after a predetermined number of rings for establishing a communication link with the remote device.

The modem may also have a reporting function for providing the computer with information associated with the ring signal of the incoming telephone call. In one embodiment, the controller determines the ring type of the ring signal and informs the computer of said ring type. In another embodiment, the controller further provides the computer with a binary ring signal converted by the ring detector at a selected sampling rate.

For a typical telephone network, the incoming telephone call is characterized by a ring signal having multiple ring periods comprised of ring bursts separated by intervals of silence. In the modem of the present invention, the controller is capable of distinguishing between a valid ring burst and a glitch. Further, the controller is capable of identifying a Type A ring signal of an incoming call prior to completion of its first ring period. The controller recongizes a single long ring burst or a single short ring burst followed by a long interval of silence as a Type A ring signal.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a modem embodying the principles of the present invention.

FIG. 2 is a flow chart of the processing sequence employed by the modem firmware for an incoming telephone call.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

A block diagram of a modem incorporating the principles of the present invention is shown in FIG. 1. The modem 10 serves as an interface between a telephone line 12 and a computer 13 connected by a computer interface 14. Telephone companies offer a service option wherein a single phone line 12 is assigned multiple directory numbers with each number being assigned a distinctive ring signal. As such, telephone line 12 might have the following directory number assignment:

    ______________________________________                                         Phone#  Ring Type  Ring Signal                                                 ______________________________________                                         542-1111                                                                               Type A.    Normal Ring: 2 second ring, 4                                                  second silence ("off"), repeat                              542-2222                                                                               Type B.    Two medium rings: 800 msec on, 400                                             msec. off, 800 msec on, 4 seconds                                              off, repeat                                                 542-2345                                                                               Type C     Two short, one medium ring:                                                    400 msec on, 200 msec off, 400 msec                                            on, 200 msec off, 800 msec on, 4                                               seconds off, repeat                                         542-0189                                                                               Type D     Short, medium-long, short rings:                                               300 msec on, 200 msec off, 1 second                                            on, 200 msec off, 300 msec on, 4                                               seconds off, repeat                                         ______________________________________                                    

As such, the ring signal of an incoming telephone call from a remote device 11 to the modem 10 provides an indication of the directory number dialed by the calling device.

In accordance with the present invention, a ring detector 16 receives a ring signal associated with an incoming call and converts it to a binary ring signal. A controller 20 determines a ring type associated with the binary ring signal. Based on the ring type the controller configures a datapump unit 22 and optionally configures a data compressor/error-correction module 27 to process data associated with the incoming call in accordance with the data protocol of the remote calling device 11. The controller then directs the telephone line interface 15 unit to answer the incoming telephone call. After the controller conducts a minimal handshaking process which may include synchronization data or facsimile signals, the datapump 12 processes data flowing between the remote device 11 and the local data terminal 13.

The controller 20 is capable of directing the routing of the incoming call via the data terminal 13-in a multi-user system based on the ring type The controller 20 may direct the routing of the incoming call without configuring the datapump unit 22 to process data or the datapump unit may be configured to process data accordingly. Preferably, the data terminal 13 is a multi-task computer coupled multiple user terminals (not shown) of a local area network (LAN). The controller 20 provides the data terminal 13 with a connect message indicating the ring type of an incoming call. The data terminal 13 employs LAN software which routes the incoming call to a user terminal or a group of user terminals or to a particular file in its memory based on the connect message.

When a remote device 11 is directed to send data to the computer 14, it calls the modem 10 using a telephone number corresponding to the communications mode of the remote device. The telephone network responds to the call by providing a ring signal to the modem 10 on the line 12. A telephone line interface 15 connects the telephone line 12 to the modem and includes the ring detection circuit 16 which detects the presence of the ring signal associated with the incoming telephone call. The ring signal received by the ring detection circuit 16 is typically a 90 Vrms nominal, 20 Hz signal provided by a telephone network. The ring detection circuit 16 converts the ring signal on line 12 to a binary form and provides the binary ring signal on line 18 to the controller 20.

The controller 20 includes a microprocessor 24 and memory 26. The microprocessor 24 runs a modem firmware program stored in the memory 26 to direct the functions of the modem 10. The firmware program is organized into modules which are each dedicated to one or more modem functions and are described below. The memory 26 also contains a table or list of configuration settings for different communication modes typically provided by the computer 13. The configuration settings are typically accessed by the controller firmware to provide datapump configurations and an optional controller compression/error-correction module configuration to support various communication modes. In the present invention, each ring type is mapped to a different communication mode, which includes a datapump setting and may also include a setting of the controller's optional compression mode. For example, the controller 20 may be provided with the following configuration settings:

    ______________________________________                                         Ring Type       Configuration Setting                                          ______________________________________                                         For Ring Type A Modem Answer C, configure                                                      data datapump to speed X                                                       with compression/error                                                         correction enabled                                             For Ring Type B Facsimile Answer, configure                                                    fascimile datapump                                             For Ring Type C No answer, enable                                                              telephone switch                                               For Ring Type D Modem Answer M, configure                                                      data datapump to speed X                                                       with compression/error                                                         correction disabled.                                           ______________________________________                                    

For an incoming telephone call, the controller firmware employs a ring detect module which receives a binary ring signal from the detector circuit 16. The ring detect module determines the ring type by analyzing the binary ring signal as described in detail below.

Accessing the configuration settings stored in memory 26, the ring detect module sets an appropriate group of user-controllable registers 28a-c to the configuration associated with the ring type. In the preferred embodiment, the controller configures a group of AT Command Set compatible S-registers 28a if the modem is to be configured to answer in the data mode. Further, the controller configures facsimile registers 28b or voice registers 28c if the modem is to be configured to answer in the facsimile mode or voice mode, respectively. For any of the modem configurations, the appropriate user-controllable controller registers are set as if they had been set by the data terminal user.

Next, the controller firmware answer module reads the appropriate group of registers 28a-c to configure the datapump unit 22 and optionally configures compressor/error-corrector module 29 in the controller. In an alternative embodiment, he ring detect module determines the ring type and directly configures the appropriate datapump and other registers. In either embodiment, the modem is partially or completely configured to the data protocol of the remote calling device before the incoming call has been answered and without handshaking.

The datapump unit 22 includes digital signal processing circuitry and memory registers (not shown) for converting analog data to digital form for the computer 13 and for converting digital computer data to analog form for transmission to remote devices. In one system, the datapump unit comprises a facsimile datapump 30 for supporting facsimile communications and a data datapump 32 for supporting standard data communications. Further, the datapump unit 22 may also comprise a voice datapump 33 which converts analog signals to voice data for storage in the data terminal 13 and converts outgoing data from the terminal to voice signals. While the facsimile datapump 30, the data datapump 32 and the voice datapump 33 are shown as separate hardware units, they may be a single hardware unit such as a digital signal processor executing different instruction sets for the facsimile mode, the data mode and the voice mode.

The telephone line interface unit 15 employs a relay 36 and a data access arrangement 34 which are selectively enabled by the controller 20 for answering an incoming telephone call based on the ring type. Further, the telephone line interface unit 15 includes a bypass relay 38 which is selectively enabled by the controller 20 based on the ring type to pass an incoming call to a telephone jack 40 via telephone lines 39 with or without the modem answering.

FIG. 2 is a flow chart illustrating the controller firmware processing procedure in accordance with the present invention. For illustration purposes, the controller firmware has stored in memory the aforementioned directory number assignment.

Note that each of the four ring signals has a nominal 6 second ring period. Further, the ring period for each ring signal includes a unique 2 second (nominal) ring burst pattern followed by 4 seconds of silence. For example, the ring signal of ring type A has a single 2 second ring burst and the ring signal of ring type B has two 800 msec ring bursts. Also, each ring is represented as a series of 20 Hz sine waves which are converted to a binary sequence by the ring detector.

The controller firmware is initialized when the modem is powered up (50). Once initialized, the firmware's ring detect module looks for ring signal energy from the ring detection circuit (52). More specifically, the ring detect module samples the ring detector output at a 10 msec rate. For each sampling, the ring detect module determines whether the detector output is a low or high voltage. Each low voltage indication is counted in a low counter and each high voltage indication is counted in a high counter. Further, for each high voltage counted, the low counter is reset. After 100 msec of sampling where only low voltage indications are counted, the ring detect module checks the high voltage count and resets the counter. If the high voltage counter indicates a number of high voltage indications corresponding to a 110 msec ring burst or longer, the ring detect module records the length of the ring burst (54). Alternatively, if the high counter indicates the ring burst is less than 110 msec, then the high voltage count is discarded as a glitch.

If the first ring burst is greater than 800 msec plus a guard time, the ring detect module determines that the ring signal has ring type A (56 and 58). Referring to the forementioned directory number assignment, only ring type A has a single long ring burst exceeding 800 msec.

Alternatively, for a shorter ring burst which is less than 800 msec, the ring detector records the length of the silence before the next ring burst (60). If the silence is greater than 400 msec plus guard time, the ring detector again determines that the ring signal has ring type A (62 and 58). Again referring to the directory number assignment, only ring type A has a long silence period between ring bursts which is greater than 400 msec.

If the silence is less than 400 msec plus guard time, the ring detect module continues to record subsequent ring bursts and silence periods to determine ring type A, B or C (64). Note that ring bursts of length less than 110 msec are insufficient bursts and considered silence. During this process, the ring detector module continuously verifies whether the ring burst detection period has expired (66). Since the maximum length ring burst is 2 seconds, the ring detection period is about 2.3. seconds to allow slight timing inaccuracies.

Once the 2.3 second ring period has ended, the ring detector module identifies the ring type in accordance with the directory number assignment stored in the controller memory (68). Next, the ring detector optionally provides a connection message to the computer (70). When the computer has software modules for data or fax or voice, in the preferred embodiment, the modem provides a connection message such as "Connect Data" or "Connect Fax" or "Connect Voice" so that the proper software module is used. Alternatively, this connection message may indicate to the computer the ring type of the incoming call. Further, the print message may include the binary ring signal from the ring detection circuit.

If the ring signal does not correspond to a known ring type (72), the ring detect module does not increment its ring counter. As such, the ring counter value does not correspond an answer call condition (80), so he ring detect module returns to step 52 to process the next ring period. Similarly, if the identified ring type is mapped to a do not answer ring action (74), the ring detect module enables the bypass switch (76) and does not increment the ring counter. Thus, the ring counter value does not correspond to an answer-the-call condition (80), so the ring detect module returns to step 52 to process the next ring period.

If neither of the two previous conditions occur, the ring counter is incremented (78) and the ring detector module determines whether the value corresponds to an answer the call condition (80). If the answer the call condition is satisfied, the ring detect module saves the default or existing datapump configuration data located in the user-controllable registers (82). Next, the ring detect module obtains the datapump configuration mapped to the determined ring type and updates a group of the user-controllable registers (84). The answer call module subsequently reads these registers and sets the datapump registers appropriately. As such, the datapump unit is configured based on the ring type to support the data protocol of the remote calling device.

The answer call module then activates the relay 36 of FIG. 1, enabling the datapump to answer the incoming telephone call through the transformer (34). After the call has been answered and minimal handshaking has been performed, the datapump receives incoming analog data from the remote device. The datapump converts the data to digital form, stores it in registers and interrupts the controller to notify it that digital data is available. The controller receives this digital data by reading the registers and subsequently provides it to the computer. During this process, the answer call module periodically polls the datapump to determine whether the telephone call is over (86). If it is determined that the call is over, the answer call module restores the controller configuration and returns the firmware to step 52.

Equivalents

Those skilled in the art will recognize or be able to ascertain, using no more than routine experimentation, many equivalents to the specific embodiments of the invention described herein. These and all other equivalents are intended to be encompassed by the following claims. 

We claim:
 1. A modem comprising:a ring detector; a datapump unit capable of processing an incoming telephone call of one of a plurality of communication modes, each communication mode being associated with a ring type; and a controller coupled to the datapump unit and responsive to the ring detector for; determining the ring type of the incoming telephone call, setting a group of user-controllable registers based on the ring type, and accessing the user-controllable registers to configure the datapump unit to process the incoming telephone call in accordance with the communication mode associated with the ring type.
 2. A modem as claimed in claim 1 wherein the datapump unit comprises a data datapump, the controller configuring the data datapump based on the ring type.
 3. A modem as claimed in claim 1 wherein the datapump unit comprises a facsimile datapump, the controller configuring the facsimile datapump based on the ring type.
 4. A modem as claimed in claim 1 wherein the datapump unit comprises a voice datapump based on the ring type.
 5. A modem as claimed in claim 1 wherein the controller, in configuring the datapump unit to process the incoming telephone call, configures compression or error correction based on the ring type.
 6. A modem as claimed in claim 1 wherein the controller, in configuring the datapump unit to process the incoming telephone call, directs the routing of the incoming telephone call via a data terminal in a multi-user system based on the ring type.
 7. A modem as claimed in claim 1 further comprising a telephone line interface connecting a telephone line to the modem, wherein the controller directs the telephone line interface to answer the incoming telephone call after at least partially configuring the datapump unit based on the ring type so as to reduce handshaking.
 8. A modem as claimed in claim 1 wherein digital data flows between the datapump unit and a data terminal, the data terminal being incapable of processing software.
 9. A modem as claimed in claim 1 wherein digital data flows between the datapump unit and a data terminal, the data terminal being a computer.
 10. A modem as claimed in claim 1 wherein the controller determines the ring type of an incoming telephone call and selectively sets a group of user-controllable AT Command Set compatible S-registers based on the ring type, the controller subsequently accessing the S-registers for configuring the datapump unit to a data mode.
 11. A modem as claimed in claim 1 further comprising a relay selectively enabled by the controller based on the ring type for passing the incoming telephone call to an output port coupled to a telephone jack.
 12. A modem as claimed in claim 1 wherein the modem is capable of informing a data terminal of the ring type.
 13. A modem as claimed in claim 1 wherein the modem provides a data terminal with a digital representation of the ring signal from the ring detector.
 14. A modem as claimed in claim 1 wherein the incoming telephone call is characterized by a ring signal having multiple ring periods comprised of ring bursts separated by intervals of silence, the controller being capable of distinguishing between a ring burst and a glitch.
 15. A modem as claimed in claim 1 wherein the controller is capable of identifying a Type A ring signal of an incoming telephone call during the first ring period by detecting a single long ring burst or by detecting a single short ring burst followed by a long interval of silence.
 16. A modem as claimed in claim 15 wherein a ring period has a duration of about six seconds, a single long ring burst has a duration of greater than about 800 msecs, a single short ring burst has a duration of less than about 800 msecs and a long interval of silence has a duration of greater than about 400 msecs.
 17. A modem as claimed in claim 1 wherein the plurality of communication modes comprise a data modem communication mode.
 18. A modem as claimed in claim 1 wherein the plurality of communication modes comprise a facsimile communication mode.
 19. A modem as claimed in claim 1 wherein the plurality of communication modes comprise a voice communication mode.
 20. A modem as claimed in claim 1 wherein the controller configures the datapump before the incoming telephone call is answered to process the incoming telephone call in accordance with a speed of data associated with the incoming telephone call.
 21. A modem as claimed in claim 1 wherein the controller configures the datapump before the incoming telephone call is answered to process the incoming telephone call in accordance with an error detection protocol associated with the incoming telephone call.
 22. A modem as claimed in claim 1 wherein the controller configures the datapump before the incoming telephone call is answered to process the incoming telephone call in accordance with a data compression protocol associated with the incoming telephone call.
 23. A modem as claimed in claim 1 wherein the controller responds to different ring types before the incoming telephone call is answered to configure the datapump unit to different data communication modes corresponding to the different ring types.
 24. The modem of claim 1 wherein the controller at least partially configures the datapump before answering the incoming telephone call.
 25. A modem coupled to a telephone line capable of supporting multiple directory numbers, each directory number having a distinctive ring type, the modem comprising:a ring detector; a datapump unit capable of processing telephone data associated with an incoming telephone call and data terminal data associated with a data terminal, the telephone data and data terminal data being associated with telephone calls of a plurality of telephone communication modes, each communication mode being associated with a ring type; a switching device coupled to the telephone line such that, in a first configuration, the switching device routes the incoming telephone call to an output port of the modem and in a second configuration, the switching device routes the incoming telephone call to the datapump unit; a controller responsive to the ring detector for:determining the ring type of an incoming telephone call; based on the ring type, setting the switching device to one of the first and second configurations; if the switch is set to the second configuration, at least partially configuring the datapump unit to process the incoming telephone call according to the communication mode associated with the ring type.
 26. A modem as claimed in claim 25 wherein the datapump unit comprises a data datapump, the controller configuring the data datapump based on the ring type.
 27. A modem as claimed in claim 25 wherein the datapump unit comprises a facsimile datapump, the controller configuring the facsimile datapump based on the ring type.
 28. A modem as claimed in claim 25 wherein the datapump unit comprises a voice datapump, the controller configuring the voice datapump based on the ring type.
 29. A modem as claimed in claim 25 wherein the controller configures controller compression/error correction based on the ring type.
 30. A modem as claimed in claim 25 wherein the controller is capable of directing the routing of the incoming telephone call via a data terminal in a multi-user system based on the ring type.
 31. A modem as claimed in claim 25 further comprising a telephone line interface connecting the telephone line to the modem, wherein the controller directs the telephone line interface to answer the incoming telephone call after at least partially configuring the datapump unit based on the ring type so as to reduce handshaking.
 32. A modem as claimed in claim 25 wherein, after the datapump unit is configured, digital data flows between the configured datapump unit and a data terminal, the data terminal being incapable of processing software.
 33. A modem as claimed in claim 25 wherein, after the datapump unit is configured, digital data flows between the configured datapump unit and a data terminal, the data terminal being a computer.
 34. A modem as claimed in claim 32 wherein the modem is capable of informing the data terminal of the ring type.
 35. A modem as claimed in claim 32 wherein the modem provides the data terminal with a digital representation of the ring signal from the ring detector.
 36. A modem as claimed in claim 25 wherein the controller determines the ring type of the incoming telephone call and sets a group of user-controllable controller registers based on the ring type, the controller subsequently accessing the registers for configuring the datapump unit.
 37. A modem as claimed in claim 25 wherein the controller determines the ring type of the incoming telephone call and sets user-controllable AT Command Set compatible S-registers based on the ring type, the controller subsequently accessing the S-registers for configuring the data datapump to a data mode.
 38. A modem as claimed in claim 25 wherein an incoming telephone call is characterized by a ring signal having multiple ring periods comprised of ring bursts separated by intervals of silence, the controller being capable of distinguishing between a ring burst and a glitch.
 39. A modem as claimed in claim 25 wherein the controller is capable of identifying a Type A ring signal of an incoming telephone call during its first ring period by detecting a single long ring burst or by detecting a single short ring burst followed by a long interval of silence.
 40. A modem as claimed in claim 39 wherein a ring period has a duration of about six seconds, a single long ring burst has a duration of greater than about 800 msecs, a single short ring burst has a duration of less than about 800 msecs and a long interval of silence has a duration of greater than about 400 msecs.
 41. A modem as claimed in claim 25 wherein the plurality of communication modes comprise a data modem communication mode.
 42. A modem as claimed in claim 25 wherein the plurality of communication modes comprise a facsimile communication mode.
 43. A modem as claimed in claim 25 wherein the plurality of communication modes comprise a voice communication mode.
 44. A modem as claimed in claim 33 wherein the modem is capable of informing the data terminal of the ring type.
 45. A modem as claimed in claim 33 wherein the modem provides the data terminal with a digital representation of the ring signal from the ring detector.
 46. A data communication system in which a modem couples a data terminal to a telephone line such that the data terminal is capable of receiving data from remote devices transmitted across the telephone line, the modem comprising:a telephone line interface unit connecting the modem to the telephone line and including a ring detector for determining the presence of an incoming telephone call; a data pump unit capable of processing analog data associated with the telephone line and digital data associated with a data terminal, the analog and digital data being associated with a data terminal, the analog and digital data being associated with telephone calls of a plurality of telephone communication modes, each communication mode being associated with a ring type; and a controller responsive to the ring detector for determining a ring type of the incoming telephone call and, before the incoming telephone call is answered, at least partially configuring the datapump unit to process the incoming call according to the communication mode associated with the ring type and for configuring a controller compression/error-correction module based on the ring type for processing data associated with the incoming telephone call.
 47. A data communication system as claimed in claim 46 wherein the datapump unit comprises a data datapump, the controller configuring the data datapump based on the ring type.
 48. A data communication system as claimed in claim 46 wherein the datapump unit comprises a facsimile datapump, the controller configuring the facsimile datapump based on the ring type.
 49. A data communication system as claimed in claim 46 wherein the datapump unit comprises a voice datapump, the controller configuring the voice datapump based on the ring type.
 50. A data communication system as claimed in claim 46 wherein the data terminal is a computer supporting a multi-user system, the controller being capable of directing the routing of the incoming telephone call via the data terminal based on the ring type.
 51. A data communication system as claimed in claim 46 wherein the data terminal is incapable of processing software.
 52. A data communication system as claimed in claim 46 wherein the controller directs the telephone line interface to answer the incoming telephone call after at least partially configuring the datapump unit based on the ring type so as to reduce handshaking.
 53. A data communication system as claimed in claim 46 wherein the controller determines the ring type of the incoming telephone call and sets a group of user-controllable controller registers based on the ring type, the controller subsequently accessing said registers for configuring said datapumps unit.
 54. A modem as claimed in claim 46 wherein the controller determines the ring type of the incoming telephone call and sets user-controllable AT Command Set compatible S-registers based on the ring type, the controller subsequently accessing the S-registers for configuring the datapump unit to a data mode.
 55. A data communication system as claimed in claim 46 wherein the modem selectively couples a telephone jack to the telephone line via the modem, such that the telephone jack is capable of receiving the incoming telephone call, the modem further comprising a relay selectively enabled by the controller based on the ring type for passing the incoming telephone call to the telephone jack.
 56. A data communication system as claimed in claim 46 wherein an incoming telephone call is characterized by a ring signal having multiple ring periods comprised of ring bursts separated by intervals of silence, the controller being capable of distinguishing between a ring burst and a glitch.
 57. A data communication system as claimed in claim 46 wherein the controller is capable of identifying a Type A ring signal of an incoming telephone call during its first ring period by detecting a single long ring burst or by detecting a single short ring burst followed by a long interval of silence.
 58. A data communication system as claimed in claim 57 wherein a ring period has a duration of about six seconds, a single long ring burst has a duration of greater than about 800 msecs, a single short ring burst has a duration of less than about 800 msecs and a long interval of silence has a duration of greater than about 400 msecs.
 59. A data communication system as claimed in claim 46 wherein the plurality of communication modes comprise a data modem communication mode.
 60. A data communication system as claimed in claim 46 wherein the plurality of communication modes comprise a facsimile communication mode.
 61. A data communication system as claimed in claim 46 wherein the plurality of communication modes comprise a voice communication mode.
 62. A modem coupled between a telephone line capable of supporting multiple directory numbers and a data terminal, each directory number having a distinctive ring type, the modem comprising;a ring detector; a datapump unit capable of processing telephone data associated with an incoming telephone call and data terminal data associated with the data terminal, the telephone data and data terminal data being associated with telephone calls of a plurality of telephone communication modes, each communication mode being associated with a ring type, and the data terminal being coupled to plural user terminals on a user terminal network; and a controller responsive to the ring detector for:determining the ring type of an incoming telephone call; and providing a message to the data terminal identifying the ring type of the incoming telephone call such that the data terminal can route the incoming call to user terminal associated with the ring type. 